package com.it.tydic.estate.module.mapper.inner;

import com.github.pagehelper.Page;
import com.it.tydic.estate.common.base.BaseMapper;
import com.it.tydic.estate.module.model.Dto.TbMoveInDto;
import com.it.tydic.estate.module.model.inner.TbMoveIn;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface TbMoveInMapper extends BaseMapper<TbMoveIn> {
    /**
     * 模糊查询
     * @param map
     * @return
     */
    Page<TbMoveIn>selectByLike(Map<String,Object> map);
    /*数据添加*/
    int insertMoveIn(TbMoveInDto tbMoveIn);

    /**
     * 数据修改
     * @param tbMoveIn
     * @return
     */
    int updateMoveIn(TbMoveIn tbMoveIn);

}